<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>溢出属性</title>
		<style>
			div{
				width: 500px;
				height: 100px;
				background: #fff000;
				/* 溢出出现条件：内部元素大于外部元素
				 overflow溢出属性：hidden 隐藏
				                  scroll 滚动条
								  auto 高宽超出部分自动滚动条
				*/
				 overflow: hidden;
				 overflow: scroll;
				 overflow: auto;
				 /*overflow-x: 横向轴 overflow-y: 纵向轴*/
				 /* 需求：纵向轴效果 */
				 overflow-y: hidden;
			}
			
			p{
				width: 800px;
			}
		</style>
	</head>
	<body>
		<div>
		<p>
			<img src="img/imge/p_small_001.jpg" alt="">
			<img src="img/imge/p_small_002.jpg" alt="">
			<img src="img/imge/p_small_003.jpg" alt="">
			<img src="img/imge/p_small_004.jpg" alt="">
			<img src="img/imge/p_small_005.jpg" alt="">
			<img src="img/imge/p_small_006.jpg" alt="">
			<img src="img/imge/p_small_007.jpg" alt="">
		</p>
		</div>
	</body>
</html>